package com.abc.genericinterface;

public class Demo {
	public static void main(String[] args) {
		GenericInterface<String> impl = new GenericInterfaceImpl<String>();
		impl.say("你好世界！");
		GenericInterface<Integer> impl2 = new GenericInterfaceImpl2();
		impl2.say(111);
		GenericInterface<Number> impl3 = new GenericInterfaceImpl<Number>();
		impl3.say(3333);
		
	}
	
}
